﻿using Microsoft.EntityFrameworkCore;
using NXModel;

namespace NXDAL
{
    public class MyDBContext : DbContext
    {
        /// <summary>
        /// ef上下文配置
        /// </summary>
        /// <param name="options"></param>
        public MyDBContext(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 数据库创建表名
        /// </summary>
        public DbSet<LoginModel> Login { get; set; }
        public DbSet<YHJModel> YHJ { get; set; }
    }
}
